package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 负责人管理对象 leader
 * 
 * @author ruoyi
 * @date 2025-03-11
 */
public class Leader extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 团长Id */
    private Long id;

    /** 级别 1 2 3 */
    @Excel(name = "级别 1 2 3")
    private Long level;

    /** 团长姓名 */
    @Excel(name = "团长姓名")
    private String name;

    /** 电话 */
    @Excel(name = "电话")
    private String phone;

    /** 密码 */
    @Excel(name = "密码")
    private String password;

    /** 身份证 */
    @Excel(name = "身份证")
    private String idcard;

    /** 邀请码 */
    private String invitationCode;

    /** 营业金额 */
    @Excel(name = "营业金额")
    private BigDecimal money;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setLevel(Long level) 
    {
        this.level = level;
    }

    public Long getLevel() 
    {
        return level;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setIdcard(String idcard) 
    {
        this.idcard = idcard;
    }

    public String getIdcard() 
    {
        return idcard;
    }
    public void setInvitationCode(String invitationCode) 
    {
        this.invitationCode = invitationCode;
    }

    public String getInvitationCode() 
    {
        return invitationCode;
    }
    public void setMoney(BigDecimal money) 
    {
        this.money = money;
    }

    public BigDecimal getMoney() 
    {
        return money;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("level", getLevel())
            .append("name", getName())
            .append("phone", getPhone())
            .append("password", getPassword())
            .append("idcard", getIdcard())
            .append("invitationCode", getInvitationCode())
            .append("money", getMoney())
            .append("createTime", getCreateTime())
            .toString();
    }
}
